home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-19 / rcs55.zip / CONF.H < prev    next >
Text File  |  1991-09-15  |  5KB  |  114 lines

  1. /* RCS compile-time configuration */
  2.  
  3.     /* $Id: conf.h%v 1.2 1991/08/23 14:39:44 SGP Exp $ */
  4.  
  5. /*
  6.  * This file is generated automatically.
  7.  * If you edit it by hand your changes may be lost.
  8.  * Instead, please try to fix conf.sh,
  9.  * and send your fixes to rcs-bugs@cs.purdue.edu.
  10.  */
  11.  
  12. #define exitmain(n) return n /* how to exit from main() */
  13. #if !MAKEDEPEND
  14. #    include <stdio.h>
  15. #    include <sys/types.h>
  16. #    include <sys/stat.h>
  17. #    include <fcntl.h>
  18. #    include <limits.h>
  19. #     include <stdlib.h>
  20. #    include <string.h>
  21. #    include <io.h>
  22. #    include <process.h>
  23. #    include <dir.h>
  24. /* #    include <unistd.h> */
  25. /* #    include <vfork.h>  */
  26. #endif /* !MAKEDEPEND */
  27. #define has_sys_dir_h 0 /* Does #include <sys/dir.h> work?  */
  28. #define has_sys_param_h 0 /* Does #include <sys/param.h> work?  */
  29. #define has_sys_wait_h 0 /* Does #include <sys/wait.h> work?  */
  30. /* #define const */ /* The 'const' keyword does not work.  */
  31. /* #define volatile */ /* The 'volatile' keyword does not work.  */
  32. /* typedef int gid_t; */ /* Standard headers define gid_t.  */
  33. typedef int mode_t; /* Standard headers do not define mode_t.  */
  34. typedef int pid_t; /* Standard headers do not define pid_t.  */
  35. typedef int sig_atomic_t; /* Standard headers do not define sig_atomic_t.  */
  36. /* typedef int size_t; */ /* Standard headers define size_t.  */
  37. /* typedef long time_t; */ /* Standard headers define time_t.  */
  38. /* typedef int uid_t; */ /* Standard headers define uid_t.  */
  39. #define has_prototypes 1 /* Do function prototypes work?  */
  40. #if has_prototypes
  41. #    define P(params) params
  42. #    if !MAKEDEPEND
  43. #        include <stdarg.h>
  44. #    endif
  45. #    define vararg_start(ap,p) va_start(ap,p)
  46. #else
  47. #    define P(params) ()
  48. #    if !MAKEDEPEND
  49. #        include <varargs.h>
  50. #    endif
  51. #    define vararg_start(ap,p) va_start(ap)
  52. #endif
  53. #define has_getuid 0 /* Does getuid() work?  */
  54. /* #define declare_getpwuid struct passwd *getpwuid P((uid_t)); */
  55. #define has_rename 1 /* Does rename() work?  */
  56. #define bad_rename 1 /* Does rename(A,B) fail if B exists?  */
  57. #define VOID (void) /* 'VOID e;' discards the value of an expression 'e'.  */
  58. #define signal_type void /* type returned by signal handlers */
  59. #define sig_zaps_handler 0 /* Must a signal handler reinvoke signal()?  */
  60. #define has_seteuid 0 /* Does seteuid() obey Posix 1003.1-1990?  */
  61. #define has_sigaction 0 /* Does struct sigaction work?  */
  62. #define has_sigblock 0 /* Does sigblock() work?  */
  63. #define has_sys_siglist 0 /* Does sys_siglist[] work?  */
  64. #define has_tmpnam 1 /* Does tmpnam() exist ? */
  65. #define exit_type void /* type returned by exit() */
  66. #define underscore_exit_type void /* type returned by _exit() */
  67. typedef size_t fread_type; /* type returned by fread() and fwrite() */
  68. typedef void *malloc_type; /* type returned by malloc() */
  69. #define free_type void /* type returned by free() */
  70. typedef size_t strlen_type; /* type returned by strlen() */
  71. #define has_getcwd 1 /* Does getcwd() work?  */
  72. /* #define has_getwd ? */ /* Does getwd() work?  */
  73. #define has_vfork 0 /* Does vfork() work?  */
  74. #define has_vfprintf 1 /* Does vfprintf() work?  */
  75. #define CO "co.exe" /* name of 'co' program */
  76. #define COMPAT2 0 /* Are version 2 files supported?  */
  77. #define DATEFORM "%.2d.%.2d.%.2d.%.2d.%.2d.%.2d" /* e.g. 01.01.01.01.01.01 */
  78. #define DIFF "diff.exe" /* name of 'diff' program */
  79. #define DIFF_FLAGS , "-an" /* Make diff output suitable for RCS.  */
  80. #define DIFF_L 0 /* Does diff -L work? */
  81. #define EXECRCS execv /* variant of execv() to use on subprograms */
  82. #define MERGE "merge.exe" /* name of 'merge' program */
  83. #define RCSDIR "RCS/" /* subdirectory for RCS files */
  84. #define SLASH '/' /* path name separator */
  85. #define TMPDIR "/tmp/" /* default directory for temporary files */
  86. #define DIFF_PATH_HARDWIRED 1 /* Is DIFF absolute, not relative?  */
  87. #define ROOTPATH(p) ((p)[0]==SLASH)
  88. #define RCSSEP '%' /* separator for RCSSUF */
  89. #define SENDMAIL "/bin/mail" /* how to send mail */
  90. #define WIFEXITED(x) (1) /* Always an EXIT on DOS */
  91. #define WEXITSTATUS(x) (x) /* Return status from a child process */
  92. #if 1 /* These agree with <stdio.h>.  */
  93.     int fprintf P((FILE*,const char*,...));
  94.     int printf P((const char*,...));
  95. #    if has_vfprintf
  96.         int vfprintf P((FILE*,const char*,...));
  97. #    else
  98.         void _doprnt P((const char*,...));
  99. #    endif
  100. #endif
  101. /* char *sprintf P((char*,const char*,...)); */
  102. int chmod P((const char*,mode_t));
  103. int fcntl P((int,int,...));
  104. int open P((const char*,int,...));
  105. mode_t umask P((mode_t));
  106. pid_t wait P((int*));
  107. #ifndef O_CREAT
  108.     int creat P((const char*,mode_t));
  109. #endif
  110. #if has_seteuid
  111.     int setegid P((gid_t));
  112.     int seteuid P((uid_t));
  113. #endif
  114.